<?php

namespace App\Http\Middleware;

use Closure;
use Illuminate\Http\Request;

class Common
{
    public function handle(Request $request, Closure $next)
    {
        if(!$request->header('Token')  || !$request->header('Time') || !$request->header('Key')) {
           exit(re_warning('授权失败',null));//  re_danger('认证失败',null);
        }else{
            return $next($request);
        }
    }
}
